package io.qar.images.dao;

import io.qar.commons.mybatis.dao.BaseDao;
import io.qar.images.dto.ImagesDTO;
import io.qar.images.entity.ImagesEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 图片列表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-07-13
 */
@Mapper
public interface ImagesDao extends BaseDao<ImagesEntity> {
    void deleteAllByImageIds(List<Long> belongIds, List<Long> imageIds);

    void changeIsRecommend(Integer isRecommend, Long imageId);
}